package com.qbt.unipock.agent.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qbt.unipock.agent.dao.DistributorRepositoryCustom;
import com.xjoyt.pay.master.po.Distributor;
import com.xjoyt.pay.repository.Repository;

public interface DistributorRepository extends Repository<Distributor>, DistributorRepositoryCustom {

	Page<Distributor> findAllByNoOrPhone(String no, String phone, Pageable pageable);

	Page<Distributor> findAllByNo(String no, Pageable pageable);

}
